//
//  WSTools.h
//  CharonTVProject
//
//  Created by karong on 2023/7/31.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface WSTools : NSObject
///web参数补全
+ (NSString *)fullWebUrl:(NSString *)url;
///设备型号
+(NSString *)phoneModel;
///计算缓存大小
+ (NSString *)fileSizeWithInterge:(NSInteger)size;
///当前控制器
+ (UIViewController *)currentViewController;
+ (NSString *)randomNonce:(NSInteger)length;
+ (NSString *)stringBySha256HashingString:(NSString *)input;
///app版本 删除“.”  例 1.0.2  返回102
+ (NSString *)getVersionCode;
///打开登录页面
+(void)pushLoginController;
@end

NS_ASSUME_NONNULL_END
